<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<jsp:directive.page import="com.sql.ReportFormSql"/>
<jsp:directive.page import="com.database.DataBase"/>

<html>
  <head>
    <title>My JSP 'OperatorsDeleteSub.jsp' starting page</title>

  </head>
  <body>
     <%
          int ID=Integer.parseInt(request.getParameter("id"));
          //ReportFormSql report=new ReportFormSql();
          DataBase base=new DataBase();
          String sql="delete from cqms_operators where id="+ID;//report.delete("CQMS_Operators",ID);
          base.executeUpdate(sql);
          base.closeStmt();
          base.closeConn();
          response.sendRedirect("Operators.jsp");
     %>
  </body>
</html>
